package com.newtribe.rmi.rmiservice;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * <p>Title: ҵ��䶯��Ϣ����</p>
 * <p>Description: Զ�̹���ӿڣ����ֹͣ�µĵ������
 *           1 .Ŀǰû�е���������л�������״̬Ϊ�ǻ�������µĵ������
 *           2. �е�������������У������
 *  </p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: ShenYang Neusoft Corp.</p>
 * @author fuwei ,fuw@neusoft.com
 * @version 1.0
 */

public interface RemoteManage extends Remote {

  /**
   * Զ�����ȼ��
   * @throws RemoteException
   */
  public void startScheduler() throws RemoteException  ;
  /**
   * Զ��ֹͣ��ȼ��
   * @throws RemoteException
   */

  public void stopScheduler() throws RemoteException ;

  /**
   * �õ���Ȼ��߳��Ѿ�����ʱ��
   * @return
   * @throws RemoteException
   */
  public long getRunningTime() throws RemoteException ;


  public boolean resetErrorPackage(String packageName) throws RemoteException ;

  public String dumpParameters() throws RemoteException ;



}